package com.guigu.service.impl.stock;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guigu.mapper.stock.SysMangerMapper;
import com.guigu.pojo.stock.SysManger;
import com.guigu.service.stock.SysMangerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mr.Zhang
 * @since 2024-12-17
 */
@Service
public class SysMangerServiceImpl extends ServiceImpl<SysMangerMapper, SysManger> implements SysMangerService {

    @Autowired
    private SysMangerMapper sysMangerMapper;

    @Override
    public ArrayList<SysManger> selectAllManger() {
        ArrayList<SysManger> sysMangers = (ArrayList<SysManger>) sysMangerMapper.selectList(null);
        return sysMangers;
    }
}
